package com.ujoin.dao;

import java.util.List;

import com.ujoin.bean.Comment;

public interface ICommentDAO {

	public abstract void save(Comment transientInstance);

	public abstract void delete(Comment persistentInstance);

	public abstract Comment findById(java.lang.Integer id);

	public abstract List findByExample(Comment instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByActivityId(Object activityId);

	public abstract List findByUserId(Object userId);

	public abstract List findByComment(Object comment);

	public abstract List findByValid(Object valid);

	public abstract List findAll();

	public abstract Comment merge(Comment detachedInstance);

	public abstract void attachDirty(Comment instance);

	public abstract void attachClean(Comment instance);

}